<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="../bootstrap-5.1.3-dist/css/bootstrap.css" rel="stylesheet">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.bundle.min.js"></script>
</head>

<body class="container">
    <h3 align="center">添加标签导航</h3>
    <div class="card ">
        <div class="card-header">
            <ul class="nav nav-tabs card-header-tabs">
                <li class="nav-item">
                    <a class="nav-link active" id="home-tab" data-bs-toggle="tab" href="#nav1">家用电器</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" id="profile-tab" data-bs-toggle="tab" href="#nav2">数码相机</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" id="contact-tab" data-bs-toggle="tab" href="#nav3">手机电脑</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" id="profile-tab" data-bs-toggle="tab" href="#nav4">办公设备</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" id="contact-tab" data-bs-toggle="tab" href="#nav5">水果特产</a>
                </li>
            </ul>
        </div>
        <div class="card-body tab-content">
            <div class="tab-pane fade show active" id="nav1">
                <div class="card-body">
                    <h5 class="card-title">家用电器</h5>
                    <p class="card-text"><input type="text" class="form-control"></p>
                    <a href="#" class="btn btn-primary">搜索</a>
                </div>
            </div>
            <div class="tab-pane fade" id="nav2">
                <div class="card-body">
                    <h5 class="card-title">数码相机</h5>
                    <p class="card-text"><input type="text" class="form-control"></p>
                    <a href="#" class="btn btn-primary">搜索</a>
                </div>
            </div>
            <div class="tab-pane fade" id="nav3">
                <div class="card-body">
                    <h5 class="card-title">手机电脑</h5>
                    <p class="card-text"><input type="text" class="form-control"></p>
                    <a href="#" class="btn btn-primary">搜索</a>
                </div>
            </div>
            <div class="tab-pane fade" id="nav4">
                <div class="card-body">
                    <h5 class="card-title">办公设备</h5>
                    <p class="card-text"><input type="text" class="form-control"></p>
                    <a href="#" class="btn btn-primary">搜索</a>
                </div>
            </div>
            <div class="tab-pane fade" id="nav5">
                <div class="card-body">
                    <h5 class="card-title">水果特产</h5>
                    <p class="card-text"><input type="text" class="form-control"></p>
                    <a href="#" class="btn btn-primary">搜索</a>
                </div>
            </div>
        </div>
    </div>

</body>

</html>